package com.example.storage;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import java.io.Serializable;



public class Fooditem implements Serializable{
    private String foodname;

    private String img;
    private int calories;
    private String unit;


    public Fooditem(String foodname,String img,int calories,String unit){
        this.foodname=foodname;
        this.img=img;
        this.calories=calories;
        this.unit=unit;
    }

    public String getFoodname(){
        return  foodname;
    }

    public int getCalories(){
        return calories;
    }

    public String getUnit(){
        return unit;
    }
    public String getImg(){
        return img;
    }
}

